/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.guobo.dao;

import java.util.List;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.guobo.entity.ExhHall;

/**
 * 展馆DAO接口
 * @author wudavid
 * @version 2017-03-09
 */
@MyBatisDao
public interface ExhHallDao extends CrudDao<ExhHall> {
	/**
	 * 查询所有
	 * @return
	 */
	public List<ExhHall> findAllExhHall();
	
	/**
	 * 查询编码最大的展馆
	 * @return
	 */
	public ExhHall getMaxCodeExhHall();
	
	/**
	 * 根据展会id查询展馆
	 * @param exhibitionId
	 * @return
	 */
	public List<ExhHall> findAllExhHallByExhibition(String exhibitionId);
	
	/**
	 * 根据区域id查询区域下的展馆
	 * @param regionId
	 * @return
	 */
	public List<ExhHall> findAllExhHallByRegion(String regionId); 
}